#ifndef __NV_H
#define __NV_H
#include"includes.h" 
#include "nandflash_k9f2g08u0x.h"
void Flash_Reset(void);
INT8U Erase_Block(INT32U ulBlock);
void ReadPage(INT32U ulBlock,INT32U ulPage,INT8U *pucPageBuf,INT32U ulFileLen);
INT8U WritePage(INT32U ulBlock,INT32U ulPage,INT8U *pucPageBuf,INT32U ulFileLen);


#endif